Theory of deviance